@PutMapping("/reduceStock")
@GlobalTransactional
public ResponseEntity<?> reduceStock(@RequestBody Map<Long, Integer> productQuantities) {
    productService.reduceStock(productQuantities);
    return ResponseEntity.ok("库存减少成功");
}